Skip to content

refactor(workflow-core): remove unused hadoop Iceberg catalog#6315

Open
anthonychengit wants to merge 2 commits into
apache:mainfrom
anthonychengit:refactor/remove-hadoop-iceberg-catalog
Open

refactor(workflow-core): remove unused hadoop Iceberg catalog#6315
anthonychengit wants to merge 2 commits into
apache:mainfrom
anthonychengit:refactor/remove-hadoop-iceberg-catalog

Conversation

@anthonychengit

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

This PR removes the unused hadoop Iceberg catalog type.

Changes:

  • Remove the hadoop catalog branch from IcebergCatalogInstance.
  • Remove IcebergUtil.createHadoopCatalog.
  • Remove the unused HadoopCatalog import while keeping HadoopFileIO.
  • Update IcebergTableWriterSpec to use the supported postgres catalog helper.
  • Update the storage.conf catalog-type comment from hadoop, rest, or postgres to rest or postgres.

Any related issues, documentation, discussions?

Closes #6150

How was this PR tested?

Tested with:

  • sbt "WorkflowCore / scalafmtOnly"
  • sbt "WorkflowCore / compile"

Also attempted:

  • sbt "WorkflowCore / testOnly org.apache.texera.amber.core.storage.result.iceberg.IcebergTableWriterSpec"

Was this PR authored or co-authored using generative AI tooling?

Generated-by: ChatGPT was used for planning and review assistance. I reviewed and tested the final code before submission.

@github-actions

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @Ma77Ball, @mengw15, @Yicong-Huang
    You can notify them by mentioning @Ma77Ball, @mengw15, @Yicong-Huang in a comment.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @Ma77Ball, @mengw15, @Yicong-Huang
    You can notify them by mentioning @Ma77Ball, @mengw15, @Yicong-Huang in a comment.

@codecov-commenter

codecov-commenter commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.40%. Comparing base (45c82a5) to head (d3c9973).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6315      +/-   ##
============================================
+ Coverage     61.02%   63.40%   +2.37%     
+ Complexity     3375     2219    -1156     
============================================
  Files          1140      870     -270     
  Lines         44923    36569    -8354     
  Branches       4942     3798    -1144     
============================================
- Hits          27413    23185    -4228     
+ Misses        16001    12316    -3685     
+ Partials       1509     1068     -441     
Flag Coverage Δ *Carryforward flag
access-control-service 70.00% <ø> (ø)
agent-service 44.59% <ø> (ø) Carriedforward from 45c82a5
amber 81.93% <ø> (+15.53%) ⬆️
computing-unit-managing-service 0.00% <ø> (ø)
config-service 52.30% <ø> (ø)
file-service 63.97% <ø> (ø)
frontend 53.31% <ø> (ø) Carriedforward from 45c82a5
notebook-migration-service 78.94% <ø> (ø)
pyamber 91.18% <ø> (ø) Carriedforward from 45c82a5
workflow-compiling-service 55.14% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Benchmark changes need a look

🟢 2 better · 🔴 3 worse · ⚪ 10 noise (<±5%) · 0 without baseline

Compared against main 45c82a5 benchmarked on this same runner, so the delta is largely free of cross-runner hardware noise. The "7d avg" column still reflects the gh-pages dashboard. Treat <±5% as noise unless repeated.

Dashboard · Run

config throughput MB/s latency max Δ latest / 7d
🔴 bs=10 sw=10 sl=64 437 0.267 22,337/30,102/30,102 us 🔴 +9.5% / ⚪ within ±5%
🔴 bs=100 sw=10 sl=64 938 0.573 104,456/139,388/139,388 us 🔴 +16.8% / ⚪ within ±5%
bs=1000 sw=10 sl=64 1,096 0.669 914,926/965,038/965,038 us ⚪ within ±5% / ⚪ within ±5%
Baseline details

Latest main 45c82a5 from same runner

config metric PR latest main 7d avg Δ latest Δ 7d
bs=10 sw=10 sl=64 throughput 437 tuples/sec 460 tuples/sec n/a -5.0% n/a
bs=10 sw=10 sl=64 MB/s 0.267 MB/s 0.281 MB/s n/a -5.0% n/a
bs=10 sw=10 sl=64 p50 22,337 us 20,404 us n/a +9.5% n/a
bs=10 sw=10 sl=64 p95 30,102 us 32,904 us n/a -8.5% n/a
bs=10 sw=10 sl=64 p99 30,102 us 32,904 us n/a -8.5% n/a
bs=100 sw=10 sl=64 throughput 938 tuples/sec 967 tuples/sec n/a -3.0% n/a
bs=100 sw=10 sl=64 MB/s 0.573 MB/s 0.59 MB/s n/a -2.9% n/a
bs=100 sw=10 sl=64 p50 104,456 us 107,317 us n/a -2.7% n/a
bs=100 sw=10 sl=64 p95 139,388 us 119,307 us n/a +16.8% n/a
bs=100 sw=10 sl=64 p99 139,388 us 119,307 us n/a +16.8% n/a
bs=1000 sw=10 sl=64 throughput 1,096 tuples/sec 1,088 tuples/sec n/a +0.7% n/a
bs=1000 sw=10 sl=64 MB/s 0.669 MB/s 0.664 MB/s n/a +0.8% n/a
bs=1000 sw=10 sl=64 p50 914,926 us 924,960 us n/a -1.1% n/a
bs=1000 sw=10 sl=64 p95 965,038 us 957,712 us n/a +0.8% n/a
bs=1000 sw=10 sl=64 p99 965,038 us 957,712 us n/a +0.8% n/a
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,457.63,200,128000,437,0.267,22336.84,30102.09,30102.09
1,100,10,64,20,2131.92,2000,1280000,938,0.573,104456.43,139388.10,139388.10
2,1000,10,64,20,18244.01,20000,12800000,1096,0.669,914925.79,965038.49,965038.49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common refactor Refactor the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the unused hadoop Iceberg catalog type

2 participants